package com.happyhome.datamodel;

import static com.mysema.query.types.PathMetadataFactory.*;

import com.mysema.query.types.*;
import com.mysema.query.types.path.*;


/**
 * QImage is a Querydsl query type for Image
 */
public class QImage extends EntityPathBase<Image> {

    private static final long serialVersionUID = 1909874160;

    private static final PathInits INITS = PathInits.DIRECT;

    public static final QImage image = new QImage("image");

    public final StringPath contentType = createString("contentType");

    public final QCustomer customer;

    public final DateTimePath<java.util.Date> dateCreated = createDateTime("dateCreated", java.util.Date.class);

    public final QHouse house;

    public final NumberPath<Long> id = createNumber("id", Long.class);

    public final DateTimePath<java.util.Date> lastUpdated = createDateTime("lastUpdated", java.util.Date.class);

    public final StringPath name = createString("name");

    public final StringPath newFilename = createString("newFilename");

    public final QRoom room;

    public final NumberPath<Long> size = createNumber("size", Long.class);

    public final StringPath thumbnailFilename = createString("thumbnailFilename");

    public final NumberPath<Long> thumbnailSize = createNumber("thumbnailSize", Long.class);

    public final QUser user;

    public final BooleanPath isDisplay = createBoolean("isDisplay");
    
    public QImage(String variable) {
        this(Image.class, forVariable(variable), INITS);
    }

    public QImage(PathMetadata<?> metadata) {
        this(metadata, metadata.isRoot() ? INITS : PathInits.DEFAULT);
    }

    public QImage(PathMetadata<?> metadata, PathInits inits) {
        this(Image.class, metadata, inits);
    }

    public QImage(Class<? extends Image> type, PathMetadata<?> metadata, PathInits inits) {
        super(type, metadata, inits);
        this.customer = inits.isInitialized("customer") ? new QCustomer(forProperty("customer"), inits.get("customer")) : null;
        this.house = inits.isInitialized("house") ? new QHouse(forProperty("house"), inits.get("house")) : null;
        this.room = inits.isInitialized("room") ? new QRoom(forProperty("room"), inits.get("room")) : null;
        this.user = inits.isInitialized("user") ? new QUser(forProperty("user")) : null;
    }

}

